<?php


namespace app\common\model\system\recruit;

use app\common\model\BaseModel;

class Recruit extends BaseModel
{

    public static function tablePk(): string
    {
        return 'id';
    }

    public static function tableName(): string
    {
        return 'recruit';
    }

    public function searchStatusAttr($query,$value)
    {
        $query->where('status',$value);
    }
}
